We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IvanMurzak/Unity-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
PackageExporter.cs•796 B
using UnityEngine;
using UnityEditor;
using System.IO;
namespace com.IvanMurzak.Unity.MCP.Installer
{
public static class PackageExporter
{
public static void ExportPackage()
{
var packagePath = "Assets/com.IvanMurzak/AI Game Dev Installer";
var outputPath = "build/AI-Game-Dev-Installer.unitypackage";
// Ensure build directory exists
var buildDir = Path.GetDirectoryName(outputPath);
if (!Directory.Exists(buildDir))
{
Directory.CreateDirectory(buildDir);
}
// Export the package
AssetDatabase.ExportPackage(packagePath, outputPath, ExportPackageOptions.Recurse);
Debug.Log($"Package exported to: {outputPath}");
}
}
}